Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ResponseOps] Rename some alert -> rule terminology in the code #178988

Merged
merged 11 commits into from
Mar 20, 2024

Conversation

doakalexi
Copy link
Contributor

@doakalexi doakalexi commented Mar 19, 2024

Related to #168861

Summary

This is a tech debt issue that I made a little progress on, I made some changes to rename alert -> rule. It's an ongoing task, but I made a PR for my changes so I can release the issue back to the iteration.

Nothing to verify, just make sure that the build passes.

@doakalexi doakalexi changed the title Changing from alert to rule [ResponseOps] Rename some alert -> rule and action -> connector terminology in the code Mar 19, 2024
@doakalexi
Copy link
Contributor Author

/ci

@doakalexi doakalexi self-assigned this Mar 19, 2024
@doakalexi doakalexi added Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) release_note:skip Skip the PR/issue when compiling release notes v8.14.0 labels Mar 19, 2024
@doakalexi doakalexi changed the title [ResponseOps] Rename some alert -> rule and action -> connector terminology in the code [ResponseOps] Rename some alert -> rule terminology in the code Mar 19, 2024
@doakalexi
Copy link
Contributor Author

/ci

@doakalexi
Copy link
Contributor Author

/ci

@doakalexi
Copy link
Contributor Author

/ci

@doakalexi doakalexi marked this pull request as ready for review March 20, 2024 14:07
@doakalexi doakalexi requested review from a team as code owners March 20, 2024 14:07
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@@ -90,6 +90,6 @@ export const INTERNAL_ALERTING_API_MAINTENANCE_WINDOW_PATH =
export const INTERNAL_ALERTING_API_GET_ACTIVE_MAINTENANCE_WINDOWS_PATH =
`${INTERNAL_ALERTING_API_MAINTENANCE_WINDOW_PATH}/_active` as const;

export const ALERTS_FEATURE_ID = 'alerts';
export const RULES_FEATURE_ID = 'alerts';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should actually be ALERTING_FEATURE_ID because this is the alerting plugin (it used to be the alerts plugin)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh okay, thanks! I will update it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in this commit ea9313d

@botelastic botelastic bot added the Team:obs-ux-management Observability Management User Experience Team label Mar 20, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

Copy link
Contributor

@ymao1 ymao1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
observability 258.7KB 258.7KB +6.0B
triggersActionsUi 1.6MB 1.6MB +8.0B
total +14.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
alerting 23.7KB 23.7KB +2.0B
triggersActionsUi 108.7KB 108.7KB +4.0B
total +6.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @doakalexi

Copy link
Member

@maryam-saeidi maryam-saeidi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for cleaning this up! 🧹

@doakalexi doakalexi merged commit 38be4d7 into elastic:main Mar 20, 2024
34 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-management Observability Management User Experience Team Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.14.0
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

6 participants